package com.hqd.ch03.v43.web.servlet;

import com.hqd.ch03.v43.context.i18n.LocaleContext;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 线程绑定地区
 */
public interface LocaleContextResolver extends LocaleResolver {

    LocaleContext resolveLocaleContext(HttpServletRequest request);

    void setLocaleContext(HttpServletRequest request, HttpServletResponse response,
                          LocaleContext localeContext);
}
